package factory
{
	public class AbstractGame
	{
		public function AbstractGame()
		{
		}
		public final function init():void{
			var field:IField = creatFiled();
			field.drawField();
			creatTeam("red");
			creatTeam("blue");
			startGame();
		}
		public function creatFiled():IField{
			throw new Error("Abstract Method!");
		}
		public function creatTeam(name:String):void{
			throw new Error("Abstract Method!");
		}
		public function startGame():void{
			throw new Error("Abstract Method!");
		}
	}
}